/**
 *
 */
package hichecker.ui.custom_views.passing;

import hichecker.controller.Config;

/**
 *
 */
public class AndCondition extends PassingCondition{

	@Override
	public boolean validate() {
		boolean value = true;
		for (PassingCondition condition : getConditions())
			value &= condition.validate();
		return value;
	}

	@Override
	public String getName() {
		return Config.CAPTION_AND;
	}

}
